home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 71.zip / BS1 part 71 / X-Cad3000_d5.adf / XCdoc / chgpoly < prev    next >
Text File  |  1991-11-22  |  3KB  |  82 lines

  1.  
  2.    5.7.2 CHANGE POLYGON
  3.  
  4.  
  5. The CHANGE POLYGON command is used to alter the shape or to change the fill
  6. font for an existing polygon entity.
  7.  
  8.  
  9.    COMMAND FORMAT
  10.  
  11. The command format varies depending on the modification mode chosen. The
  12. different formats are explained with their associated modifiers.
  13.  
  14.  
  15.    MODIFIERS
  16.  
  17. FONT           The FONT modifier is used to enter a family of modifiers
  18.                which may be used to specify an alternative fill for existing
  19.                polygon entities.
  20.  
  21.                The command format using this modifier is:
  22.  
  23.                   #CHANGE POLYGON FONT modifiers :Ent x1 x2 ... xn
  24.  
  25.                The selected fill style will be applied to all polygons
  26.                identified via IDENTS.
  27.  
  28. .NULL          NULL is used to change the polygon fill to a solid colourfill
  29.                in the layer dependent colour. This is the default fill type
  30.                for polygons.
  31.  
  32.                The rest of the modifiers available to specify alternative
  33.                fill type are described under the documentation for the DRAW
  34.                POLYGON command.
  35.  
  36. ADD            The ADD modifier is used to indicate that a sub-polygon
  37.                definition is to be added to an existing polygon. The command
  38.                format when using ADD is:
  39.  
  40.                   #CHANGE POLYGON ADD :Ent x1 :Loc x2 x3 ... xn [:Ent ... ]
  41.  
  42.                'x1' is used to select the required polygon. Locations 'x2'
  43.                through to 'xn' define the boundary of a sub-polygon which is
  44.                added to the polygon entity. This allows you to cut out
  45.                sections of an existing polygon. ( See fig. 5.51 ).
  46.  
  47. SUBTRACT       The SUBTRACT modifier is used to indicate that sub-polygon
  48.                definitions are to be removed from an existing polygon
  49.                entity. The command format when using SUBTRACT is:
  50.  
  51.                   #CHANGE POLYGON SUBTRACT :Ent x1 :Loc x2 ... xn [:Ent .. ]
  52.  
  53.                'x1' is used to select the required polygon. Locations 'x2'
  54.                through to 'xn' are used identify which sub-polygon
  55.                definitions are to be removed. The main polygon boundary
  56.                cannot be removed. ( See fig. 5.52 ).
  57.  
  58. EDIT           The EDIT modifier is used to indicate that the main polygon
  59.                boundary or any sub-poygon boundary for an existing polygon
  60.                entity will be altered. The command format when using EDIT
  61.                is:
  62.  
  63.                   #CHANGE POLYGON EDIT :Ent x1 :Loc x2 x3 ... xm xn [:Ent ]
  64.  
  65.                'x1' is used to select the required polygon. Locations 'x2'
  66.                through to 'xn' define the boundary alteration and are also
  67.                used to select whether the main polygon boundary or a sub-
  68.                polygon boundary will be changed.
  69.  
  70.                Locations 'x2' and 'xn' mark the start and end of the boundary
  71.                alteration. Both the points 'x2' and 'xn' must lie in the
  72.                vicinity of the same polygon boundary. The polygon boundary
  73.                nearest to these two points will be altered.
  74.  
  75.                The new boundary shape is made by adding the section defined
  76.                by the locations 'x2' through to 'xn' at the two points where
  77.                the new section joins the existing boundary. These two points
  78.                are made at the intersection of the two vectors x2,x3 and
  79.                xm,xn with the selected polygon boundary. ( See fig. 5.53 ).
  80.  
  81.  
  82.